<extend name="Index/index"/>

<block name="content">
    <!--<div class="view-product" style="margin-top: 50px">-->
        <div class="info-center">
            <div class="manage-head">
                <h6 class="padding-left manage-head-con">{{$title}}</h6>
            </div>
            <div class="offcial-table input-table table-margin clearfix">
                <if condition="$feeList eq null">
                    <div class="tr non-info show border-bottom-none">
                        <span>没查询到符合条件的记录</span>
                    </div>
                    <else />
                    <div class="demoTable">
                        <div class="layui-inline">
                            <h3>总金额: <span style="color:#f00;">{{$totalFee}}</span>元</h3>
                        </div>
                    </div>
                    <table class="layui-table text-center">
                        <tr>
                            <th class="text-center">ID</th>
                            <th class="text-center">年份</th>
                            <th class="text-center">总金额(元)</th>
                            <th class="text-center">操作</th>
                        </tr>
                        <php>$i = 1;</php>
                        <foreach  name="feeList" item="vo" key="k">
                            <tr>
                                <td>{{$i}}</td>
                                <php>$i++;</php>
                                <td><a href="{{:U('Fee/showDetail',array('year'=>$vo['year']))}}">{{$vo.year}}</a></td>
                                <td>{{$vo.total_price}}</td>
                                <td><a href="{{:U('Fee/showDetail',array('year'=>$vo['year']))}}" class="layui-btn layui-btn-sm layui-btn-normal">查看详情</a></td>

                            </tr>
                        </foreach>
                    </table>

                </if>

            </div>
        </div>
        <!--<div class="show-page padding-big-right hidden">-->
            <!--<div class="page">-->
            <!--</div>-->
        <!--</div>-->
    <!--</div>-->

</block>